import { Entity, Column, PrimaryColumn } from 'typeorm';

@Entity()
export class Log {
  @PrimaryColumn()
  id: string;

  @Column()
  userId: number;

  @Column()
  username: string;

  @Column()
  timestamp: Date;
}
